package com.gxa.mall.dao;

import com.gxa.mall.model.Employee;
import com.gxa.mall.model.Supplier;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupplierDao {
//查询所有供货商信息
    List<Supplier> toseeksupplier();

    //迷糊查询
    List<Supplier> tolikeseek(@Param("text") String text);

    void addemployee(Supplier supplier);


    //查询要修改员工属性
    Supplier toupdata(Integer id);

    void saveemployee(Supplier supplier);

    void toremove(Integer id);

    Integer tosumem();
}
